﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;
using HosPlat.Data;

namespace HosPlat.API
{
    public class ServiceContainer
    {
        public static IUnityContainer Current()
        {

            IUnityContainer container = new UnityContainer();

            //接口
            container.RegisterType<IWsService, Base.BaseManage>("BASE");//后台基础信息管理

            //container.RegisterType<IWsService, Base.UserManage>("USER");//前台用户预约，取号，查询管理

            //container.RegisterType<IWsService, Base.YuyueManage>("YUYUE");//后台基础信息管理
            return container;
        }

    }

}
